host-interaction/hardware/memory

get memory information

rule:
  meta:
    name: get memory information
    namespace: host-interaction/hardware/memory
    authors:
      - joakim@intezer.com
    scopes:
      static: function
      dynamic: thread
    att&ck:
      - Discovery::System Information Discovery [T1082]
    examples:
      - 7351f8a40c5450557b24622417fc478d:0x405438
  features:
    - or:
      - and:
        - or:
          - os: linux
          - os: android
        - match: host-interaction/file-system/read
        - string: "/proc/meminfo"
      - and:
        - or:
          - os: linux
          - os: android
        - api: system
        - or:
          - substring: "/proc/meminfo"
          - string: /^free/

last edited: 2024-04-23 11:49:05